<%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"></c:set>
<html>
<head>
    <title>测试</title>
    <script type="text/javascript" src="${basePath}/jquery/jquery-1.8.0.min.js"></script>
    <style>
        fieldset {
            border:1px solid #999;
            border-radius:8px;
            box-shadow:0 0 10px #999;
            width: auto;
            height: 200px;
        }
        legend {
            background:#fff;
        }
    </style>
</head>
<body>
    <h1>Test Page</h1>
    <fieldset>
        <legend>Test</legend>
        <input id="testClick" type="button" value="click">
        <p></p>
    </fieldset>
    <script>
        $("#testClick").click(function () {
            console.log("test")
        })
    </script>
</body>
</html>